package com.example.shardingjdbcdemo.service;

import com.example.shardingjdbcdemo.pojo.ScsProduct;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface ShardingService {
    void insertProduct(ScsProduct scsProduct);

    List<ScsProduct> queryProduct();

    PageInfo<ScsProduct> queryProductPage();

    List<ScsProduct> queryProductByIds(List<Long> ids);
}
